import elastic.ElasticRuc
import java.util.Locale
import play.api.Logger
import play.api.GlobalSettings
import elastic.Tracer

object Global extends GlobalSettings {

  def onStart(app: App) {
    Logger.info("onStart")
    Locale.setDefault(new Locale("es", "PY"))
  }

  def onStop(app: App) {
    Logger.info("Shutdown Hook - cleaning up!");
    ElasticRuc.shutdown()
  }

}